<#include "/common/defaultEngine.html"/>
<@pageTheme mark="${config.optimize()?string('true', 'false')}">
<@header title="修改ERP人事部门备用金申请" bodyClass="white-bg" />
<div class="wrapper wrapper-content ibox-content">
    <@form.form id="form-deptpettycash-edit"  class="form-horizontal">
    <input name="id" value="${bpmErpPersonDeptpettycash.id}" type="hidden">
    <div class="form-group">
        <label class="col-sm-3 control-label"><span style="color: red; ">*</span><@ctx.i18n text = "流水号" />：                               <i class="fa fa-question-circle-o" title="流水号"></i>                                
       </label>
        <div class="col-sm-8"><input name="serialNumber" value="${bpmErpPersonDeptpettycash.serialNumber?default("")}" class="form-control" type="text"  required>                                                
        </div>
     </div>
    <div class="form-group">
        <label class="col-sm-3 control-label"><span style="color: red; ">*</span><@ctx.i18n text = "申请人id" />：                               <i class="fa fa-question-circle-o" title="申请人id"></i>                                
       </label>
        <div class="col-sm-8"><input name="applyUserid" value="${bpmErpPersonDeptpettycash.applyUserid?default("")}" class="form-control" type="text"  required>                                                
        </div>
     </div>
    <div class="form-group">
        <label class="col-sm-3 control-label"><span style="color: red; ">*</span><@ctx.i18n text = "申请人名称" />：                               <i class="fa fa-question-circle-o" title="申请人名称"></i>                                
       </label>
        <div class="col-sm-8"><input name="applyUsername" value="${bpmErpPersonDeptpettycash.applyUsername?default("")}" class="form-control" type="text"  required>                                                
        </div>
     </div>
    <div class="form-group">
        <label class="col-sm-3 control-label"><span style="color: red; ">*</span><@ctx.i18n text = "创建人" />：                               <i class="fa fa-question-circle-o" title="创建人"></i>                                
       </label>
        <div class="col-sm-8"><input name="createUserid" value="${bpmErpPersonDeptpettycash.createUserid?default("")}" class="form-control" type="text"  required>                                                
        </div>
     </div>
    <div class="form-group">
        <label class="col-sm-3 control-label"><span style="color: red; ">*</span><@ctx.i18n text = "修改人" />：                               <i class="fa fa-question-circle-o" title="修改人"></i>                                
       </label>
        <div class="col-sm-8"><input name="updateUserid" value="${bpmErpPersonDeptpettycash.updateUserid?default("")}" class="form-control" type="text"  required>                                                
        </div>
     </div>
    <div class="form-group">
        <label class="col-sm-3 control-label"><span style="color: red; ">*</span><@ctx.i18n text = "是否删除" />：                               <i class="fa fa-question-circle-o" title="是否删除 （1删除，0不删除）默认为0"></i>                                
       </label>
        <div class="col-sm-8"><input name="deleteFlag" value="${bpmErpPersonDeptpettycash.deleteFlag?default("")}" class="form-control" type="text"  required>                                                
        </div>
     </div>
    <div class="form-group">
        <label class="col-sm-3 control-label"><span style="color: red; ">*</span><@ctx.i18n text = "原因" />：                               <i class="fa fa-question-circle-o" title="原因"></i>                                
       </label>
        <div class="col-sm-8"><input name="moneyReason" value="${bpmErpPersonDeptpettycash.moneyReason?default("")}" class="form-control" type="text"  required>                                                
        </div>
     </div>
    <div class="form-group">
        <label class="col-sm-3 control-label"><span style="color: red; ">*</span><@ctx.i18n text = "金额" />：                               <i class="fa fa-question-circle-o" title="金额"></i>                                
       </label>
        <div class="col-sm-8"><input name="moneyMoney" value="${bpmErpPersonDeptpettycash.moneyMoney?default("")}" class="form-control" type="text"  required>                                                
        </div>
     </div>
    <div class="form-group">
        <label class="col-sm-3 control-label"><span style="color: red; ">*</span><@ctx.i18n text = "证明" />：                               <i class="fa fa-question-circle-o" title="证明"></i>                                
       </label>
        <div class="col-sm-8"><input name="moneyProof" value="${bpmErpPersonDeptpettycash.moneyProof?default("")}" class="form-control" type="text"  required>                                                
        </div>
     </div>
    <div class="form-group">
        <label class="col-sm-3 control-label"><span style="color: red; ">*</span><@ctx.i18n text = "款项信息备注"/>：</label>
        <div class="col-sm-8">
            <textarea name="moneyMemo" class="form-control" required>${bpmErpPersonDeptpettycash.moneyMemo?default("")}</textarea>
        </div>
    </div>
               
    <div class="form-group">
        <label class="col-sm-3 control-label"><span style="color: red; ">*</span><@ctx.i18n text = "还款方式"/>：</label>
        <div class="col-sm-8">          
             <@form.select name="moneyRepaymentMethod" dictType="sys_erp_paybackmethod" value="${bpmErpPersonDeptpettycash.moneyRepaymentMethod?default('')}"   required="true"  multiple="" />
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-3 control-label"><span style="color: red; ">*</span><@ctx.i18n text = "还款期限" />：                               <i class="fa fa-question-circle-o" title="还款期限"></i>                                
       </label>
        <div class="col-sm-8"><input name="moneyRepaymentTerm" value="${bpmErpPersonDeptpettycash.moneyRepaymentTerm?default("")}" class="form-control" type="text"  required>                                                
        </div>
     </div>
    <div class="form-group">
        <label class="col-sm-3 control-label"><span style="color: red; ">*</span><@ctx.i18n text = "会计人员" />：                               <i class="fa fa-question-circle-o" title="会计人员  （获取当前操作人）"></i>                                
       </label>
        <div class="col-sm-8"><input name="accountingPerson" value="${bpmErpPersonDeptpettycash.accountingPerson?default("")}" class="form-control" type="text"  required>                                                
        </div>
     </div>
    <div class="form-group">
        <label class="col-sm-3 control-label"><span style="color: red; ">*</span><@ctx.i18n text = "会计人员名称" />：                               <i class="fa fa-question-circle-o" title="会计人员名称"></i>                                
       </label>
        <div class="col-sm-8"><input name="accountingPersonname" value="${bpmErpPersonDeptpettycash.accountingPersonname?default("")}" class="form-control" type="text"  required>                                                
        </div>
     </div>
    <div class="form-group">
        <label class="col-sm-3 control-label"><span style="color: red; ">*</span><@ctx.i18n text = "会计审批"/>：</label>
        <div class="col-sm-8">
           <@form.radio name="accountingApproval" dictType="sys_crm_isOrNo" value="${bpmErpPersonDeptpettycash.accountingApproval?default('')}" />
        </div>

    </div>
    <div class="form-group">
        <label class="col-sm-3 control-label"><span style="color: red; ">*</span><@ctx.i18n text = "会计备注" />：                               <i class="fa fa-question-circle-o" title="会计备注"></i>                                
       </label>
        <div class="col-sm-8"><input name="accountingRemark" value="${bpmErpPersonDeptpettycash.accountingRemark?default("")}" class="form-control" type="text"  required>                                                
        </div>
     </div>
    <div class="form-group">
        <label class="col-sm-3 control-label"><span style="color: red; ">*</span><@ctx.i18n text = "审批金额" />：                               <i class="fa fa-question-circle-o" title="审批金额  （默认等于款项信息金额）"></i>                                
       </label>
        <div class="col-sm-8"><input name="accountingApprovalMoney" value="${bpmErpPersonDeptpettycash.accountingApprovalMoney?default("")}" class="form-control" type="text"  required>                                                
        </div>
     </div>
    <div class="form-group">
        <label class="col-sm-3 control-label"><span style="color: red; ">*</span><@ctx.i18n text = "财务经理审批"/>：</label>
        <div class="col-sm-8">
           <@form.radio name="managerApproval" dictType="sys_crm_isOrNo" value="${bpmErpPersonDeptpettycash.managerApproval?default('')}" />
        </div>

    </div>
    <div class="form-group">
        <label class="col-sm-3 control-label"><span style="color: red; ">*</span><@ctx.i18n text = "财务经理备注"/>：</label>
        <div class="col-sm-8">
            <textarea name="managerRemark" class="form-control" required>${bpmErpPersonDeptpettycash.managerRemark?default("")}</textarea>
        </div>
    </div>
               
    <div class="form-group">
        <label class="col-sm-3 control-label"><span style="color: red; ">*</span><@ctx.i18n text = "确认打款"/>：</label>
        <div class="col-sm-8">
           <@form.radio name="payConfirmpay" dictType="sys_crm_isOrNo" value="${bpmErpPersonDeptpettycash.payConfirmpay?default('')}" />
        </div>

    </div>
    <div class="form-group">
        <label class="col-sm-3 control-label"><span style="color: red; ">*</span><@ctx.i18n text = "打款日期"/>：</label>
        <div class="col-sm-8">
            <div class="input-group date">
                <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
                <input class="form-control time-input" name="payPaymentdate"  data-type="date"   value="${(bpmErpPersonDeptpettycash.payPaymentdate?string('yyyy-MM-dd'))!}" data-format="yyyy-MM-dd" type="text"  required/>
            </div>
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-3 control-label"><span style="color: red; ">*</span><@ctx.i18n text = "偏好付款方式"/>：</label>
        <div class="col-sm-8">          
             <@form.select name="payPreferencePaymethod" dictType="sys_erp_first_paymethod" value="${bpmErpPersonDeptpettycash.payPreferencePaymethod?default('')}"   required="true"  multiple="" />
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-3 control-label"><span style="color: red; ">*</span><@ctx.i18n text = "付款方式备注" />：                               <i class="fa fa-question-circle-o" title="付款方式备注 选项关联-确认打款=Confirm"></i>                                
       </label>
        <div class="col-sm-8"><input name="payMethodMemo" value="${bpmErpPersonDeptpettycash.payMethodMemo?default("")}" class="form-control" type="text"  required>                                                
        </div>
     </div>
    <div class="form-group">
        <label class="col-sm-3 control-label"><span style="color: red; ">*</span><@ctx.i18n text = "附件" />：                               <i class="fa fa-question-circle-o" title="附件  选项关联-确认打款=Confirm"></i>                                
       </label>
        <div class="col-sm-8"><input name="payReceiptNumber" value="${bpmErpPersonDeptpettycash.payReceiptNumber?default("")}" class="form-control" type="text"  required>                                                
        </div>
     </div>
    <div class="form-group">
        <label class="col-sm-3 control-label"><span style="color: red; ">*</span><@ctx.i18n text = "证明" />：                               <i class="fa fa-question-circle-o" title="证明  选项关联-确认打款=Confirm"></i>                                
       </label>
        <div class="col-sm-8"><input name="payProof" value="${bpmErpPersonDeptpettycash.payProof?default("")}" class="form-control" type="text"  required>                                                
        </div>
     </div>
    <div class="form-group">
        <label class="col-sm-3 control-label"><span style="color: red; ">*</span><@ctx.i18n text = "接收人名称" />：                               <i class="fa fa-question-circle-o" title="接收人名称"></i>                                
       </label>
        <div class="col-sm-8"><input name="payRecipientName" value="${bpmErpPersonDeptpettycash.payRecipientName?default("")}" class="form-control" type="text"  required>                                                
        </div>
     </div>
    <div class="form-group">
        <label class="col-sm-3 control-label"><span style="color: red; ">*</span><@ctx.i18n text = "接收人地址" />：                               <i class="fa fa-question-circle-o" title="接收人地址"></i>                                
       </label>
        <div class="col-sm-8"><input name="payRecipientAddress" value="${bpmErpPersonDeptpettycash.payRecipientAddress?default("")}" class="form-control" type="text"  required>                                                
        </div>
     </div>
    <div class="form-group">
        <label class="col-sm-3 control-label"><span style="color: red; ">*</span><@ctx.i18n text = "接收人手机" />：                               <i class="fa fa-question-circle-o" title="接收人手机"></i>                                
       </label>
        <div class="col-sm-8"><input name="payRecipientPhone" value="${bpmErpPersonDeptpettycash.payRecipientPhone?default("")}" class="form-control" type="text"  required>                                                
        </div>
     </div>
    <div class="form-group">
        <label class="col-sm-3 control-label"><span style="color: red; ">*</span><@ctx.i18n text = "金额" />：                               <i class="fa fa-question-circle-o" title="金额"></i>                                
       </label>
        <div class="col-sm-8"><input name="payAccountNumber" value="${bpmErpPersonDeptpettycash.payAccountNumber?default("")}" class="form-control" type="text"  required>                                                
        </div>
     </div>
    <div class="form-group">
        <label class="col-sm-3 control-label"><span style="color: red; ">*</span><@ctx.i18n text = "汇款路径号码" />：                               <i class="fa fa-question-circle-o" title="汇款路径号码"></i>                                
       </label>
        <div class="col-sm-8"><input name="payRoutingNumber" value="${bpmErpPersonDeptpettycash.payRoutingNumber?default("")}" class="form-control" type="text"  required>                                                
        </div>
     </div>
    <div class="form-group">
        <label class="col-sm-3 control-label"><span style="color: red; ">*</span><@ctx.i18n text = "开户行" />：                               <i class="fa fa-question-circle-o" title="开户行"></i>                                
       </label>
        <div class="col-sm-8"><input name="payBankAddress" value="${bpmErpPersonDeptpettycash.payBankAddress?default("")}" class="form-control" type="text"  required>                                                
        </div>
     </div>
    <div class="form-group">
        <label class="col-sm-3 control-label"><span style="color: red; ">*</span><@ctx.i18n text = "人民币汇款" />：                               <i class="fa fa-question-circle-o" title="人民币汇款"></i>                                
       </label>
        <div class="col-sm-8"><input name="payRmbRemittanceMethod" value="${bpmErpPersonDeptpettycash.payRmbRemittanceMethod?default("")}" class="form-control" type="text"  required>                                                
        </div>
     </div>
    <div class="form-group">
        <label class="col-sm-3 control-label"><span style="color: red; ">*</span><@ctx.i18n text = "银行名称" />：                               <i class="fa fa-question-circle-o" title="银行名称"></i>                                
       </label>
        <div class="col-sm-8"><input name="payBankName" value="${bpmErpPersonDeptpettycash.payBankName?default("")}" class="form-control" type="text"  required>                                                
        </div>
     </div>
    <div class="form-group">
        <label class="col-sm-3 control-label"><span style="color: red; ">*</span><@ctx.i18n text = "银行账号" />：                               <i class="fa fa-question-circle-o" title="银行账号"></i>                                
       </label>
        <div class="col-sm-8"><input name="payBankAccount" value="${bpmErpPersonDeptpettycash.payBankAccount?default("")}" class="form-control" type="text"  required>                                                
        </div>
     </div>
    <div class="form-group">
        <label class="col-sm-3 control-label"><span style="color: red; ">*</span><@ctx.i18n text = "账户名称" />：                               <i class="fa fa-question-circle-o" title="账户名称"></i>                                
       </label>
        <div class="col-sm-8"><input name="payAccountName" value="${bpmErpPersonDeptpettycash.payAccountName?default("")}" class="form-control" type="text"  required>                                                
        </div>
     </div>
    <div class="form-group">
        <label class="col-sm-3 control-label"><span style="color: red; ">*</span><@ctx.i18n text = "付款结果"/>：</label>
        <div class="col-sm-8">
           <@form.radio name="cashierPaymentResult" dictType="sys_crm_isOrNo" value="${bpmErpPersonDeptpettycash.cashierPaymentResult?default('')}" />
        </div>

    </div>
    <div class="form-group">
        <label class="col-sm-3 control-label"><span style="color: red; ">*</span><@ctx.i18n text = "出纳日期"/>：</label>
        <div class="col-sm-8">
            <div class="input-group date">
                <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
                <input class="form-control time-input" name="cashierDate"  data-type="date"   value="${(bpmErpPersonDeptpettycash.cashierDate?string('yyyy-MM-dd'))!}" data-format="yyyy-MM-dd" type="text"  required/>
            </div>
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-3 control-label"><span style="color: red; ">*</span><@ctx.i18n text = "接收人编号" />：                               <i class="fa fa-question-circle-o" title="接收人编号"></i>                                
       </label>
        <div class="col-sm-8"><input name="cashierReceiptNumber" value="${bpmErpPersonDeptpettycash.cashierReceiptNumber?default("")}" class="form-control" type="text"  required>                                                
        </div>
     </div>
    <div class="form-group">
        <label class="col-sm-3 control-label"><span style="color: red; ">*</span><@ctx.i18n text = "出纳证明" />：                               <i class="fa fa-question-circle-o" title="出纳证明"></i>                                
       </label>
        <div class="col-sm-8"><input name="cashierProof" value="${bpmErpPersonDeptpettycash.cashierProof?default("")}" class="form-control" type="text"  required>                                                
        </div>
     </div>
    <div class="form-group">
        <label class="col-sm-3 control-label"><span style="color: red; ">*</span><@ctx.i18n text = "出纳备注"/>：</label>
        <div class="col-sm-8">
            <textarea name="cashierMemo" class="form-control" required>${bpmErpPersonDeptpettycash.cashierMemo?default("")}</textarea>
        </div>
    </div>
               
    <div class="form-group">
        <label class="col-sm-3 control-label"><span style="color: red; ">*</span><@ctx.i18n text = "出纳提交时间"/>：</label>
        <div class="col-sm-8">
            <div class="input-group date">
                <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
                <input class="form-control time-input" name="cashierSubmitTime"  data-type="date"   value="${(bpmErpPersonDeptpettycash.cashierSubmitTime?string('yyyy-MM-dd'))!}" data-format="yyyy-MM-dd" type="text"  required/>
            </div>
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-3 control-label"><span style="color: red; ">*</span><@ctx.i18n text = "审批状态"/>：</label>
        <div class="col-sm-8">
            <div class="radio-box">
                <input type="radio" name="processStatus" value="" required/><span class="help-block m-b-none"><i class="fa fa-info-circle"></i> 代码生成请选择字典属性</span>
            </div>
        </div>
    </div>
 </@form.form>
<@footer>
<script type="text/javascript">
    var prefix = baseURL + "erp/deptpettycash";
    $("#form-deptpettycash-edit").validate({
        focusCleanup: true
    });

    function submitHandler() {
        if (opt.validate.form()) {
            opt.operate.save(prefix + "/edit", $('#form-deptpettycash-edit').serialize());
        }
    }
</script>
</@footer>
</@pageTheme>
